import org.gradle.api.Plugin
import org.gradle.api.Project

/**
 * 自定义gradle插件
 *
 * @author Jack 2021-05-29 22:35
 */
internal class GradlePlugin : Plugin<Project> {
    override fun apply(project: Project) {
        val config = project.extensions.create("androidX", AndroidxConfig::class.java)
        print("versionCode=${config.versionCode};versionName=${config.versionName}")
    }
}